const storageKey = 'userInfo';

export function getData() {
    return uni.getStorageSync(storageKey) || {};
}

export function setData(data) {
    uni.setStorageSync(storageKey, data);
}

export function removeData() {
    uni.removeStorageSync(storageKey);
}